package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 本体绑定表 Z_CARRIER_BIND
 * 
 * @author ervin
 * @date 2019-03-27
 */
public class CarrierBind
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 本体编号 */
	private String carrier;
	/** 机种 */
	private String machineType;
	/** 物料 */
	private String itemBo;
	/** 绑定状态(Y,N) */
	private String status;
	/** 下一工序 */
	private String nextOperation;
	/** 绑定开始时间 */
	private Date startDateTime;
	/** 绑定结束时间 */
	private Date endDateTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setCarrier(String carrier) 
	{
		this.carrier = carrier;
	}

	public String getCarrier() 
	{
		return carrier;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setItemBo(String itemBo) 
	{
		this.itemBo = itemBo;
	}

	public String getItemBo() 
	{
		return itemBo;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setNextOperation(String nextOperation) 
	{
		this.nextOperation = nextOperation;
	}

	public String getNextOperation() 
	{
		return nextOperation;
	}
	public void setStartDateTime(Date startDateTime) 
	{
		this.startDateTime = startDateTime;
	}

	public Date getStartDateTime() 
	{
		return startDateTime;
	}
	public void setEndDateTime(Date endDateTime) 
	{
		this.endDateTime = endDateTime;
	}

	public Date getEndDateTime() 
	{
		return endDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("carrier", getCarrier())
            .append("machineType", getMachineType())
            .append("itemBo", getItemBo())
            .append("status", getStatus())
            .append("nextOperation", getNextOperation())
            .append("startDateTime", getStartDateTime())
            .append("endDateTime", getEndDateTime())
            .toString();
    }
}
